#include <iostream>
using namespace std;
int main() {
    float a;
    cin >> a;
    cout << int(a+0.5);
    return 0;
}
